b7b3f11af8d0c9464cdb7cfa58b4bd190406872b,src/main/java/org/dynmap/storage/sqllte/SQLiteMapStorage.java,StorageTile,write,#number#BufferOutputStream#,136
Before Change
stmt = c.prepareStatement("UPDATE Tiles SET HashCode=?, LastUpdate=?, Format=?, Image=? WHERE MapID=? AND x=? and y=? AND zoom=?;");
stmt.setLong(1, hash);
stmt.setLong(2, System.currentTimeMillis());
stmt.setInt(3, (map.getImageFormat() == ImageFormat.FORMAT_PNG) ? FMTIDX_PNG : FMTIDX_JPG);
stmt.setBytes(4, encImage.buf);
stmt.setInt(5, mapkey);
stmt.setInt(6, x);
After Change
stmt = c.prepareStatement("UPDATE Tiles SET HashCode=?, LastUpdate=?, Format=?, Image=? WHERE MapID=? AND x=? and y=? AND zoom=?;");
stmt.setLong(1, hash);
stmt.setLong(2, System.currentTimeMillis());
stmt.setInt(3, map.getImageFormat().getEncoding().ordinal());
stmt.setBytes(4, encImage.buf);
stmt.setInt(5, mapkey);
stmt.setInt(6, x);